package com.schoolhelper.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

import lombok.*;

/**
 * (TOrder)表实体类
 *
 * @author makejava
 * @since 2021-04-23 21:03:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class TOrder extends Model<TOrder> {

    @TableId(type = IdType.AUTO)
    private Long orderId;

    //发布者的id
    private Integer postUserId;

    private String title;

    //订单类型
    private String type;

    private String description;

    private Integer price;

    //订单是否已被预订
    private String status;

    //接单人的id
    private Integer helperId;

    private Date postDatetime;

    private Date helpDatetime;

    private Date finishDatetime;
}
